//
//  YDHomeAdvertisementCell.m
//  PeiZiWangBei
//
//  Created by LK-IOS on 2017/11/29.
//  Copyright © 2017年 LK-IOS. All rights reserved.
//

#import "YDHomeAdvertisementCell.h"

@interface YDHomeAdvertisementCell()


@end

@implementation YDHomeAdvertisementCell


-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        [self noticeLabel];
    }
    return self;
}

-(UILabel *)noticeLabel
{
    if (_noticeLabel == nil) {
        UILabel *noticeLabel = [[UILabel alloc] init];
        [self.contentView addSubview:noticeLabel];
        noticeLabel.textColor = [UIColor colorWithHexString:frenchBlue];
        noticeLabel.font = [UIFont systemFontOfSize:font12ScreenWRate * LKScreenW];
        noticeLabel.textAlignment = NSTextAlignmentLeft;
        noticeLabel.backgroundColor = [UIColor clearColor];
        noticeLabel.text = @"公告：上证突破3500点，白酒行业迎来新一轮牛市！";
        _noticeLabel = noticeLabel;
    }
    return _noticeLabel;
}

@end
